package com.david.warehouse.service;

import com.david.common.utils.PageResult;
import com.david.warehouse.pojo.entity.InboundOrder;
import com.david.warehouse.pojo.vo.InboundOrderAndDetails;
import com.david.warehouse.pojo.vo.InboundOrderVO;
import com.david.warehouse.pojo.vo.InventoryDetailVO;
import com.david.warehouse.pojo.vo.InventorySearchVO;

import java.util.List;

public interface InventoryService {
    PageResult getInventoryList(InventorySearchVO searchVO, Boolean isAll);

    InventoryDetailVO getInventoryDetailById(Integer id, Integer page, Integer pageSize);

    PageResult getInboundList(Integer productId, Integer whId,Integer page, Integer pageSize);

    PageResult getOutboundList(Integer productId,Integer whId, Integer page, Integer pageSize);

    void addInbound(Integer typeId, InboundOrderAndDetails inboundOrderAndDetails);

    PageResult getInboundOrderList(InboundOrderVO inboundOrderVO);

    InboundOrderAndDetails getInboundAndDetail(String batchNo);
}
